export default [
  {
    path: '/shop/decoration',
    name: 'Decoration',
    component: () => import('@/views/shop/decoration/index.vue'),
    meta: { title: '店铺装修' }
  },
  {
    path: '/shop/creatProduct',
    meta: { title: '发布产品' },
    children: [
      {
        path: '/',
        name: 'Product',
        component: () => import('@/views/shop/creatProduct/index.vue'),
        hidden: true
      }, {
        path: 'approve',
        name: 'Approve',
        component: () => import('@/views/shop/approve/index.vue'),
        meta: { title: '审核进度' },
        hidden: true
      }
    ]
  },
  {
    path: '/shop/product',
    meta: { title: '产品仓库' },
    children: [
      {
        path: '/',
        name: 'ProductList',
        component: () => import('@/views/shop/productList/index.vue'),
        hidden: true
      }, {
        path: 'detail',
        name: 'ProductDetail',
        component: () => import('@/views/shop/productDetail/productDetail.vue'),
        meta: { title: '产品详情' },
        hidden: true
      }
    ]
  },
  {
    path: '/shop/onSale',
    name: 'OnSaleList',
    component: () => import('@/views/shop/productList/onSaleList.vue'),
    meta: { title: '在售产品' }
  },
  {
    path: '/shop/ticket',
    meta: { title: '套票' },
    children: [
      {
        path: '/',
        name: 'TicketList',
        component: () => import('@/views/shop/ticket/ticketList.vue'),
        hidden: true
      }, {
        path: 'detail',
        name: 'TicketDetail',
        component: () => import('@/views/shop/ticket/ticketDetail.vue'),
        meta: { title: '套票详情' },
        hidden: true
      }
    ]
  }
]
